package com.hl.card.credit.pub.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hl.card.credit.pub.dao.AbstractDao;
import com.hl.card.credit.pub.dao.PublicOftenPCertInfoDao;
import com.hl.card.credit.pub.entity.PublicOftenPCertInfo;
import com.hl.card.credit.pub.model.PublicOftenPCertInfoModel;

//@Service
public class PublicOftenPCertInfoService extends
		AbstractService<PublicOftenPCertInfo, Integer> {

//	@Autowired
	private PublicOftenPCertInfoDao<PublicOftenPCertInfo, Integer> dao;

	@Override
	protected AbstractDao<PublicOftenPCertInfo, Integer> getDao() {
		return dao;
	}
	
	/**
	 * 
	    * @Title: queryOftenPCertInfoList
	    * @Description: TODO(根据常旅客信息查询差旅客证件信息)
	    * @param @param publicOftenPCertInfo
	    * @param @return    参数
	    * @return List<PublicOftenPCertInfo>    返回类型
	    * @throws
	 */
	public List<PublicOftenPCertInfo> queryOftenPCertInfoList(
			PublicOftenPCertInfoModel publicOftenPCertInfoModel){
		return dao.queryOftenPCertInfoList(publicOftenPCertInfoModel);
	}

	public PublicOftenPCertInfo queryByCondition(PublicOftenPCertInfoModel model) {
		// TODO Auto-generated method stub
		return dao.queryByCondition(model);
	}

}
